package org.txazo.stat.vo;

import java.util.Date;

/**
 * 用户实体
 * 
 * @author Tu XiaoZhou
 * @since 2013-04-12
 * 
 */
public class User {

	/** 用户ID */
	private int id;
	/** 邮箱帐号 */
	private String account;
	/** 帐号密码 */
	private String password;
	/** 昵称 */
	private String nickname;
	/** 注册时间 */
	private Date regTime;
	/** 性别 */
	private String sex;
	/** 省份 */
	private String province;
	/** 城市 */
	private String city;
	/** 头像 */
	private String avatar;
	/** 生日 */
	private Date birthday;
	/** 星座 */
	private String constellation;
	/** 个人签名 */
	private String signature;
	/** 最近一次登录时间 */
	private Date lastLoginTime;
	/** 好友数 */
	private int friends;
	/** 粉丝数 */
	private int fans;
	/** 关注数 */
	private int follows;

	public User() {
	}

	/**
	 * 注册信息
	 */
	public User(String account, String password, String nickname, Date regTime) {
		this.account = account;
		this.password = password;
		this.nickname = nickname;
		this.regTime = regTime;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Date getRegTime() {
		return regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getConstellation() {
		return constellation;
	}

	public void setConstellation(String constellation) {
		this.constellation = constellation;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public int getFriends() {
		return friends;
	}

	public void setFriends(int friends) {
		this.friends = friends;
	}

	public int getFans() {
		return fans;
	}

	public void setFans(int fans) {
		this.fans = fans;
	}

	public int getFollows() {
		return follows;
	}

	public void setFollows(int follows) {
		this.follows = follows;
	}

}
